{% extends 'WebQuant/base.html' %}
{% block title %}回测历史{% endblock %}
{% block content %}
{% include 'WebQuant/strategy_nav.html' %}
<div style="overflow:hidden">
	{% include 'WebQuant/strategy_nav_left.html' %}
	<div class="right_cont">
		<div class="back_top">
			<p>回测日期<input class="time" id="starttime" readonly="readOnly" value="2015/01/02"> 至
			<input class="time" id="endtime" readonly="readOnly" value="2016/01/02" >
				<a href="javascript:void(0)" class="search" onclick="search_back_test()">查询</a>
				<a href="javascript:void(0)" class="all" onclick="all_back_test()">全部</a>
			</p>
		</div>
		<div class="moudle_back">
			<div class="table_head">
				<div class="table_h1">序号</div>
				<div class="table_h2">回测时间</div>
				<div class="table_h3">起止时间</div>
				<div class="table_h4">类型</div>
				<div class="table_h5">起始金额</div>
				<div class="table_h6">收益</div>
				<div class="table_h7">状态</div>
			</div>
			<ul class="table_data">
			</ul>
			<div class="page"><p></p></div>
		</div>
	</div>
</div>
<div class="windowmask" style="opacity: 0.5;"></div>
<div class="panelbox">
	<div class="paneltitle">
		<div class="current_copy">
			<span>策略代码</span>
		</div>
		<span class="panelclose"></span>
	</div>
	<div class="panelcon">
		<div class="copy_edts" id="editor1"></div>
	</div>
</div>
<script src="/static/WebQuant/js/jq.js"></script>
<script src="/static/WebQuant/js/WdatePicker.js"></script>
<script src="/static/WebQuant/js/mustache.min.js"></script>
<script src="/static/WebQuant/js/csrf.js"></script>
<script src="/static/UPQuant/js/ace/ace.js" type="text/javascript"></script>
<script src="/static/UPQuant/js/ace/ext-language_tools.js"></script>
<script src="/static/UPQuant/js/ace/ext-statusbar.js"></script>
<script src="/static/WebQuant/js/pikaday.min.js"></script>
<script src="/static/WebQuant/js/page.js"></script>
<script src="/static/WebQuant/js/history.js"></script>
<script src="/static/WebQuant/js/base.js"></script>
<script id="template" type="x-tmpl-mustache">
	[[#backTestList]]
	<li>
		<div class="tables_d1">[[index]]</div>
		<div class="tables_d2">[[createTime]]</div>
		<div class="tables_d3">[[beginTime]]至[[endTime]]</div>
		<div class="tables_d4 ">每日</div>
		<div class="tables_d5 ">￥[[intCash]]</div>
		[[&totalReturn]]
		<div class="tables_d7">已结束</div>
		<div class="tables_d8"><a href="javascript:void(0)" class="chakan">查看代码</a></div>
		<div class="tables_d9"><a href="javascript:void(0)" class="jieguo">回测结果</a></div>
		<div class="vid" style="display:none">[[versionId]]</div>
	</li>
	[[/backTestList]]

</script>
{% endblock %}